import request from '../utils/HTTP.js'
const BASE_URL = '/events'
export const getEventsApi = (params) => {
    return request({
        method: 'POST',
        url: '/login',
        data: params
    })
}
export const getAllEventsApi = () => {
    return request({
        method: 'GET',
        url: BASE_URL
    })
}